package com.bobo.mm.dogs;

import android.annotation.TargetApi;
import android.app.job.JobParameters;
import android.app.job.JobService;
import android.os.Build;


/**
 * 狗觅食专用服务
 * Created by cocolove2 on 2020/6/18.
 */
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
public class DogJobService extends JobService {
    @Override
    public boolean onStartJob(JobParameters params) {
        try {
            DogManager.getInstance().lookup();
        } catch (Exception e) {
            e.printStackTrace();
        }
        return false;
    }

    @Override
    public boolean onStopJob(JobParameters params) {
        return false;
    }
}
